#include "header.h"

int citire(int);
void credite(int );
void medie(int);
void afisare(int);
int n;

void main()
{
	char c;
	do
	{
		{
			n=citire(n);
		}
	cout<<"Mai adaugati alt student? (D/N)";
	cin>>c;
	}while((c!='n')&&(c!='N'));
	medie(n);
	credite(n);
	afisare(n);
}